package com.example.mapper;
import com.example.entity.Lunbo;
import org.apache.ibatis.annotations.Select;

import java.util.List;

public interface LunboMapper {

    List<Lunbo> selectAll(Lunbo lunbo);

    void insert(Lunbo lunbo);

    void updateById(Lunbo lunbo);

    void deleteById(Integer id);

    @Select("select * from lunbo where id = #{lunboId}")
    Lunbo selectById(Integer lunboId);
}
